.container{
    width: 1000px;
    margin: 0 auto;
    background-color: #e1ffe0;
}

h1,ul,li{
    margin: 0;
    padding: 0;
}

li{
    list-style: none;
}

a{
    text-decoration: none;
}
.sep{
    height: 60px;
}
/* 垂直菜单 */
.menu1{
    width: 200px;
    height: 160px;
    background-color: cyan;
}

.menu1 li{
    width: 200px;
    height: 39px;
    line-height: 39px;
    background-color: navajowhite;
    border-bottom: 1px solid navajowhite;
}
.menu1 a{
    display: block;
    width: 170px;
    height: 39px;
    padding-left: 20px;
    color: white;
    border-left: 10px solid #39f833ab;
}
.menu1 a:hover{
    background-color: #fa7cfa;
    border-left: 10 solid #ffddff;
}
/* 水平菜单 */
.menu2{
    width: 1000px;
    height: 40px;
    background: transparent url(menu_ps.jpg) repeat-x left top;
}
.menu2 li{
    float: left;
    width: 120px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}
.menu2 a{
    display: block;
    color: yellow;
}
.menu2 a:hover{
    color: snow;
    background-color: springgreen;
}

/* 水平带垂直菜单演示 */
.menu3{
    width: 1000px;
    height: 40px;
    background-color: #c6c6c6;
}

.menu3 li{
    float: left;
    width: 120px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}
.menu3 a{
    display: block;
    color: red;
    height: 39px;
    width: 119px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #808080;
}
.menu3 a:hover{
    background-color: #666;
    color: #ffffff;
    border-bottom: 1px solid #ff0;
}
.menu3 .submenu{
    visibility: hidden;
    width: 120px;
}
.menu3 li:hover .submenu{
    visibility: visible;
    position: relative;
    z-index: 100;
}
.menu3 .submenu li{
    height: 35px;
    line-height: 35px;
}
.menu3 .submenu a{
    background-color: #666;
    color: springgreen;
    border: 0;
}
.menu3 .submenu a:hover{
    background-color: #333333;
}
/* 水平带水平菜单演示 */
.menu4{
    width: 1000px;
    height: 40px;
    background-color: #4aaf7d;
    position: absolute;
}

.menu4 li{
    float: left;
    width: 120px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}
.menu4 a{
    display: block;
    color: rgb(255, 176, 176);
    height: 39px;
    width: 119px;
    /* border-right: 1px solid #ccc; */
    border-bottom: 1px solid #ff5a5a;
}
.menu4 a:hover{
    background-color: #3a8a62;
    color: #ffffff;
    border-bottom: 1px solid #ff0;
}
.menu4 .submenu{
    display: none;
    position: absolute;
    left: 0;
    top: 40px;
    height: 100px;
    width: 900px;
    border: 1px solid springgreen;
    z-index: 100;
}
.menu4 .submenu li{
    float: left;
    /* background-color: #50bb85; */
}
.menu4 li:hover .submenu{
   display: block;
}
.menu4 .submenu a{
    color: #333333;
    border: none;
}
.menu4 .submenu a:hover{
    color: gold;
    background-color: #fff;
}